package cc.mrbird.febs.accounting.mapper;

import cc.mrbird.febs.accounting.dto.detailCost.DetailCostDTO;
import cc.mrbird.febs.accounting.dto.standardSub.SubMainDetailDTO;
import cc.mrbird.febs.accounting.entity.*;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *  Mapper
 *
 * @author hbh
 * @date 2021-09-28 23:27:01
 */
public interface MainCostMapper extends BaseMapper<MainCost> {
    List<DetailCostDTO> queryMainCostByYearMonth(@Param("yearMonth") String yearMonth);

    void deleteByIds(@Param("ids")List<String> ids);

    List<SubMainDetailDTO> queryStandards();

    List<DetailCostDTO> queryByYear(@Param("year") String year);
}